var fs = require('fs')
const p = require('path')
const modulesPath = p.join(__dirname, '../../node_modules')
const lockJsonPath = p.join(__dirname, '../../package-lock.json')
if (fs.existsSync(modulesPath)) {
  const fileUtil = require('./fileUtil')
  fileUtil.deleteFile(lockJsonPath)
  // console.log('删除package-lock.json成功!!')
  fileUtil.deleteFolderByRimRaf(modulesPath)
  // console.log('删除node_modules成功!!')
}
